package eg.com.itiga.ui.beans;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;

import eg.com.itiga.domain.Company;
import eg.com.itiga.domain.Field;

public class ManageCompanyActionForm extends org.apache.struts.action.ActionForm {


    /**
	 * 
	 */
	private String companyName;
	private String companyWebsite;
	private int[] selectedFields;
	private List<Field> companyFields;
	private String userName;
	private String password;
	private List<Company> registeredCompanies;
	private int selectedCompany;
	
	
	
	private static final long serialVersionUID = 1L;

	public ManageCompanyActionForm () {
		
    }

    public void reset(ActionMapping actionMapping, HttpServletRequest request) {
        // TODO: Write method body
        
    }

    public ActionErrors validate(ActionMapping actionMapping, HttpServletRequest request) {
        // TODO: Write method body
        return super.validate(actionMapping, request);
    }

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getCompanyWebsite() {
		return companyWebsite;
	}

	public void setCompanyWebsite(String companyWebsite) {
		this.companyWebsite = companyWebsite;
	}
	
	public List<Field> getCompanyFields() {
		return companyFields;
	}

	public void setCompanyFields(List<Field> fields) {
		this.companyFields = fields;
	}

	public int[] getSelectedFields() {
		return selectedFields;
	}

	public void setSelectedFields(int[] selectedFields) {
		this.selectedFields = selectedFields;
	}
	
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public List<Company> getRegisteredCompanies() {
		return registeredCompanies;
	}

	public void setRegisteredCompanies(List<Company> registeredCompanies) {
		this.registeredCompanies = registeredCompanies;
	}

	public int getSelectedCompany() {
		return selectedCompany;
	}

	public void setSelectedCompany(int selectedCompany) {
		this.selectedCompany = selectedCompany;
	}
	
}